package com.jun.common.rabbitmq.constant;

/**
 * @author yuejun.li
 * @date 2024/4/24 11:52:14
 * 路由键常量
 */
public class RouteConstant {

    //直连型交换机与队列绑定匹配键
    public static final String TEST_DIRECT_ROUTING_KEY = "openKey";

    //主题型交换机与队列绑定匹配键
    public static final String TOPIC_MAN = "topic.man";

    public static final String TOPIC_WOMAN = "topic.woman";

    public static final String TOPIC_ALL = "topic.#";

    //错误路由键
    public static final String ERROR_KEY = "error.key";

    //死信路由键
    public static final String DEAD_KEY = "dead.key";

    //死信-延迟路由键
    public static final String TTL_KEY = "ttl.key";

    //死信-延迟插件路由键
    public static final String DELAY_KEY = "delay.key";

    //死信-限流路由键
    public static final String MAX_KEY = "max.key";
}
